.home {
  padding: 30px 20px;
  background-color: #f8f8f8;
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 120px; // 为底部导航栏留出空间
}

.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 30px;

  .search-input {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 36px;
    padding: 12px 24px;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

    .icon-search {
      color: #999;
      margin-right: 12px;
      font-size: 32px;
    }

    input {
      flex: 1;
      border: none;
      font-size: 28px;
      color: #333;
      background: transparent;

      &::placeholder {
        color: #999;
      }
    }
  }

  .icon-bell {
    font-size: 40px;
    color: #666;
  }
}

.location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;

  &__left {
    display: flex;
    align-items: center;

    .icon-map-marker {
      color: #ff6b6b;
      margin-right: 12px;
      font-size: 36px;
    }

    .icon-chevron-down {
      color: #999;
      margin-left: 8px;
      font-size: 24px;
    }
  }

  &__text {
    font-size: 32px;
    font-weight: 500;
    color: #333;
  }

  &__right {
    display: flex;
    align-items: center;

    .icon-clock {
      color: #666;
      margin-right: 8px;
      font-size: 32px;
    }
  }

  &__time {
    font-size: 28px;
    color: #666;
  }
}

.decision {
  background-color: #fff;
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

  &__title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
  }

  &__buttons {
    display: flex;
    gap: 20px;
  }

  &__button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 16px;
    font-size: 28px;
    font-weight: 500;

    .icon {
      margin-right: 12px;
      font-size: 32px;
    }

    &--primary {
      background-color: #ff6b6b;
      color: #fff;
      box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
    }

    &--outline {
      border: 2px solid #ff6b6b;
      color: #ff6b6b;
    }
  }
}

.categories {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  padding: 0 10px;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;

  &__icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    .icon {
      font-size: 48px;
      color: #fff;
    }

    &--red { background: linear-gradient(135deg, #ff6b6b, #ff8787); }
    &--blue { background: linear-gradient(135deg, #4dabf7, #74c0fc); }
    &--green { background: linear-gradient(135deg, #51cf66, #69db7c); }
    &--yellow { background: linear-gradient(135deg, #ffd43b, #ffd93d); }
    &--purple { background: linear-gradient(135deg, #845ef7, #9775fa); }
  }

  &__text {
    font-size: 24px;
    color: #666;
    font-weight: 500;
  }
}

.nearby {
  &__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  &__title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
  }

  &__more {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 28px;

    .icon {
      margin-left: 8px;
      font-size: 24px;
    }
  }

  &__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
} 